package com.sheng.sign.service;

import java.util.List;

import com.sheng.sign.dao.ClassesDao;
import com.sheng.sign.entity.Classes;

public class ClassesServiceImpl implements ClassesService {
	
	private ClassesDao classesDao;

	@Override
	public boolean add(Classes classes) {
		return classesDao.add(classes);
	}

	@Override
	public boolean edit(Classes classes) {
		return classesDao.edit(classes);
	}

	@Override
	public boolean delete(Classes classes) {
		return classesDao.delete(classes);
	}

	@Override
	public List<Classes> findAllList() {
		return classesDao.findAllList();
	}

	@Override
	public Classes findById(Classes classes) {
		 return classesDao.findById(classes);
	}

	public ClassesDao getClassesDao() {
		return classesDao;
	}

	public void setClassesDao(ClassesDao classesDao) {
		this.classesDao = classesDao;
	}

	@Override
	public List<Classes> findByClassesName(Classes classes) {
		return classesDao.findByClassesName(classes);
	}


}
